@charset "utf-8";
@import 'reset';
@import 'common';

%common {
    margin: 0 auto;
    position: relative;
    width: 145px;
    height: 36px;
    text-align: center;
    border: 1px solid $color;

    h3 {
        position: absolute;
        width: 100px;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 24px;
        background-color: #fff;

        span {
            font-size: 16px;
        }
    }
}

.about-us {
    @extend %common;
    margin-top: 26px;
}

// 关于我们 介绍
.introduce {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-top: 21px;
    width: 882px;
    height: 319px;

    .mission,
    .vision {
        width: 270px;
        height: 319px;
        background-color: #f2f2f2;

        img {
            margin: 18px 72px;
            width: 126px;
            height: 126px;
        }

        h2 {
            margin: 12.5px;
            width: 245px;
            height: 88px;
            font-size: 16px;
            text-align: center;

            p {
                margin-top: 20px;
                font-size: 12px;
                line-height: 20px;
                color: #838383;
            }
        }
    }

    .team {
        width: 322px;
        height: 319px;
        background-color: #f2f2f2;

        img {
            margin: 18px 98px;
            width: 126px;
            height: 126px;
        }

        h2 {
            margin: 12.5px 40px;
            width: 245px;
            height: 88px;
            font-size: 16px;
            text-align: center;

            p {
                margin-top: 20px;
                font-size: 12px;
                line-height: 20px;
                color: #838383;
            }
        }
    }
}

// 投资案例
.portfolio {
    @extend %common;
    margin-top: 35px;
    margin-bottom: 21px;

    h3 {
        span {
            width: 130px;
        }
    }
}

// 案例内容
.portfolio-content {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 899px;
    height: 612px;

    .portfolio-picture {
        width: 296px;
        height: 306px;
        text-align: center;

        img {
            width: 100%;
            height: 210px;
        }

        h3 {
            margin-top: 15px;
            font-size: 12px;
        }

        button {
            margin: 19px;
            width: 135px;
            height: 27px;
            border: none;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 3px;
            color: #ffffff;
            background-color: #6db6ff;
        }
    }
}

// 友情链接
.link-content {
    margin: 26px auto 29px;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 899px;
    height: 305px;
    background-image: url(../image/index/link.png);
    background-color: #313131;

    .link {
        @extend %common;
        position: absolute;
        top: 33px;
        left: 377px;
        color: white;

        h3 {
            background-color: transparent;
        }
    }

    .left-arrow,
    .right-arrow {
        width: 18px;
        height: 30px;
    }

    .alibaba-logo {
        width: 222px;
        height: 81px;
    }

    .trust {
        width: 244px;
        height: 81px;
    }
}